#include "StdAfx.h"
#include "BlockConvertor.h"

BlockConvertor::BlockConvertor(void)
{
}

//---------------------------------------------------------------------------------------

int BlockConvertor::DoConvert(System::Xml::XmlReader ^ xml, System::Data::SQLite::SQLiteConnection^ sqlite, System::String ^ blockName, System::String ^ tableName) {	
	String^ name = "";
    String^ value = "";
	String^ data = "";

	xml->ReadToFollowing(blockName);
	while ( xml->Read() &&  ( xml->Name == blockName ) ) {
			//data = xml->Name;
			name = xml->GetAttribute("name");
			value = xml->GetAttribute("value");
			
	}

return 0;
}
